package com.ihr360.commons.entity;

import lombok.Builder;

import java.io.Serializable;

/**
 * 用户认证信息
 *
 * @author tom
 * @date 17-12-19
 */
@Builder
public class AuthUserInfo implements Serializable {
    private String companyId;

    private String companyName;

    private String userId;

    private String userName;

    private String mobileNo;

    private String staffId;

    private String sessionId;

    public AuthUserInfo() {
    }

    public AuthUserInfo(String companyId, String userId) {
        this.companyId = companyId;
        this.userId = userId;
    }

    public AuthUserInfo(String companyId,String companyName, String userId, String userName, String mobileNo, String staffId) {
        this.companyId = companyId;
        this.companyName = companyName;
        this.userId = userId;
        this.userName = userName;
        this.mobileNo = mobileNo;
        this.staffId = staffId;
    }


    public AuthUserInfo(String companyId,String companyName, String userId, String userName, String mobileNo, String staffId, String sessionId) {
        this.staffId = staffId;
        this.companyId = companyId;
        this.userId = userId;
        this.userName = userName;
        this.mobileNo = mobileNo;
        this.sessionId = sessionId;
        this.companyName = companyName;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getMobileNo() {
        return mobileNo;
    }

    public void setMobileNo(String mobileNo) {
        this.mobileNo = mobileNo;
    }

    public String getStaffId() {
        return staffId;
    }

    public void setStaffId(String staffId) {
        this.staffId = staffId;
    }

    public String getSessionId() {
        return sessionId;
    }

    public void setSessionId(String sessionId) {
        this.sessionId = sessionId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }


}
